/*
 * 类名称:DictServiceImpl.java
 * 包名称:com.iotechn.unimall.app.api.dict
 *
 * 修改履历:
 *     日期                       修正者        主要内容
 *     2020-07-04 14:06:14        lin     初版做成
 *
 * Copyright (c) 2019-2019 浵浵科技
 */
package com.iotechn.unimall.app.api.dict;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.iotechn.unimall.biz.service.dict.DictBizService;
import com.iotechn.unimall.core.exception.AdminServiceException;
import com.iotechn.unimall.core.exception.ExceptionDefinition;
import com.iotechn.unimall.core.exception.ServiceException;
import com.iotechn.unimall.data.domain.DictDO;
import com.iotechn.unimall.data.mapper.DictMapper;
import com.iotechn.unimall.data.model.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.CollectionUtils;
import org.springframework.util.StringUtils;
import org.apache.ibatis.session.RowBounds;

import java.util.Date;
import java.util.Arrays;
import java.util.List;
import java.util.Map;

/**
 * 系统字典表ServiceImpl实现类
 *
 * @author lin
 * @date 2020-07-04 14:06:14
 */
@Service
public class DictServiceImpl implements DictService {

    @Autowired
    private DictMapper dictMapper;

    @Autowired
    private DictBizService dictBizService;

    @Override
    @Transactional(rollbackFor = Exception.class)
    public Map<String,List<DictDO>> getAllDictList() throws ServiceException{
        return dictBizService.getAllDictList();
    }
}